package com.app.pojo;

public class User {
    public String userId,nickname,email,phone,birthday,storageByte;
    public int sex,score;

    public int getScore() {
        return score;
    }

    public String getStorage() {
        return storageByte;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public void setStorage(String storageByte) {
        this.storageByte = storageByte;
    }
    public User(User user){
        this.userId = user.userId;
        this.nickname = user.nickname;
        this.email = user.email;
        this.phone = user.phone;
        this.birthday = user.birthday;
        this.sex = user.sex;
        this.score = user.score;
        this.storageByte = user.storageByte;
    }
    public User(String userId, String nickname, String email, String phone, String birthday, Integer sex, Integer score, String storageByte) {
        this.userId = userId;
        this.nickname = nickname;
        this.email = email;
        this.phone = phone;
        this.birthday = birthday;
        this.sex = sex;
        this.score = score;
        this.storageByte = storageByte;
    }


    @Override
    public String toString() {
        return "User{" +
                "userId='" + userId + '\'' +
                ", nickname='" + nickname + '\'' +
                ", birthday='" + birthday + '\'' +
                ", email='" + email + '\'' +
                ", sex=" + sex +
                '}';
    }
}
